package wiz.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface WizIntegration {
	public boolean canPullPlayerListFromRemoteSystem();
	void pullPlayerNames(AsyncCallback<List<String>> callback);
	
	public boolean canSubmitScoresToRemoteSystem();
	public void submitScores(List<GameResult> result);
	
	
	
	public static class GameResult {
		private String fPlayerName;
		private int fPlayerScore;
		public GameResult(String playerName, int playerScore) {
			super();
			fPlayerName = playerName;
			fPlayerScore = playerScore;
		}
		public String getPlayerName() {
			return fPlayerName;
		}
		public void setPlayerName(String playerName) {
			fPlayerName = playerName;
		}
		public int getPlayerScore() {
			return fPlayerScore;
		}
		public void setPlayerScore(int playerScore) {
			fPlayerScore = playerScore;
		}
		
		
		
	}




}
